package main

import (
	"fmt"
	"net/http"
)

/**
 * @Author:      YaoWang
 * @DateTime:    2017-04-21 14:04:19
 * @Description: 可以直接查看文件指定目录下的文件 目前是当前
 */
func main() {
	http.Handle("/", http.FileServer(http.Dir("./")))
	e := http.ListenAndServe(":8080", nil)
	fmt.Println(e)
}
